gtkfishbowl: Remove gtk_container_snapshot_child call
authorTimm Bäder <mail@baedert.org>
Sat, 7 Jan 2017 17:08:53 +0000 (18:08 +0100)
committerTimm Bäder <mail@baedert.org>
Sat, 7 Jan 2017 17:08:53 +0000 (18:08 +0100)
demos/gtk-demo/gtkfishbowl.c

index 2e3c1e876d5bd956cab09f06e846e8f08f50ec99..3e5a7e9d70022ccb64b4bd49bf122e7ba50900b0 100644 (file)
@@ -237,9 +237,9 @@ gtk_fishbowl_snapshot (GtkWidget   *widget,
     {
       child = list->data;
 
-      gtk_container_snapshot_child (GTK_CONTAINER (fishbowl),
-                                    child->widget,
-                                    snapshot);
+      gtk_widget_snapshot_child (widget,
+                                 child->widget,
+                                 snapshot);
     }
 }